package DesignPatterns.CombinationMode;

public class Test {
    public static void main(String[] args) {
        Component menu=new menu("人才餐厅","无说明");
        Component cuisine=new Cuisine("闽菜","闽南人");
        Component cuisine2=new Cuisine("川菜","辣");
        Component dish=new Dish("佛跳墙","贵");
        Component dish2=new Dish("开水白菜","贵");
        cuisine.add(dish);
        cuisine2.add(dish2);
        menu.add(cuisine);
        menu.add(cuisine2);

        menu.show();

    }
}
